#pragma once

#include "log.hpp"
#include <iostream>
#include <string>
#include <cassert>
#include <cstring>
#include <strings.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>




#define SOCK_FATAL 1
#define BIND_FAIL 2
#define LISTEN_FAIL 3
#define CONNECT_FAIL 4


#define BUFF_SIZE 1024